package ltd.bugs.cute.channel.model;

import org.apache.ibatis.type.Alias;

/**
 * 通道条件
 * 
 * @author zhengzhq
 *
 */
@Alias("ChannelCondition")
public class ChannelCondition {

  // 通道类型
  private int type;
  // 状态，2:全部，0:禁用，1:启用，详见Channel模型的定义
  private int status = 2;

  public ChannelCondition() {

  }

  public ChannelCondition(int type) {
    this.type = type;
  }

  public ChannelCondition(int type, int status) {
    this.type = type;
    this.status = status;
  }

  public int getType() {
    return type;
  }

  public void setType(int type) {
    this.type = type;
  }

  public int getStatus() {
    return status;
  }

  public void setStatus(int status) {
    this.status = status;
  }
}
